import { usePageTitle } from '../hooks/usePageTitle';

export function Terms() {
  usePageTitle('Terms of Service');
  
  return <div className="w-full bg-white">
      <div className="container mx-auto px-4 py-12">
        <div className="max-w-3xl mx-auto">
          <h1 className="text-3xl md:text-4xl font-bold mb-6">
            Terms of Service
          </h1>
          <p className="text-gray-600 mb-8">
            Last updated:{' '}
            {new Date().toLocaleDateString('en-US', {
            year: 'numeric',
            month: 'long',
            day: 'numeric'
          })}
          </p>
          <div className="prose max-w-none">
            <p>
              Welcome to AppliancePicks. Please read these Terms of Service
              ("Terms") carefully before using our website.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              1. Acceptance of Terms
            </h2>
            <p>
              By accessing or using our website, you agree to be bound by these
              Terms and our Privacy Policy. If you do not agree to these Terms,
              you may not access or use our website.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              2. Changes to Terms
            </h2>
            <p>
              We may revise these Terms at any time without notice. By
              continuing to use our website after those revisions become
              effective, you agree to be bound by the revised Terms.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              3. Accessing the Website
            </h2>
            <p>
              We reserve the right to withdraw or amend our website, and any
              service or material we provide on the website, in our sole
              discretion without notice. We will not be liable if for any reason
              all or any part of the website is unavailable at any time or for
              any period.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              4. Intellectual Property Rights
            </h2>
            <p>
              The website and its entire contents, features, and functionality
              (including but not limited to all information, software, text,
              displays, images, video, and audio, and the design, selection, and
              arrangement thereof), are owned by AppliancePicks, its licensors,
              or other providers of such material and are protected by
              copyright, trademark, patent, trade secret, and other intellectual
              property or proprietary rights laws.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">5. Prohibited Uses</h2>
            <p>
              You may use our website only for lawful purposes and in accordance
              with these Terms. You agree not to use our website:
            </p>
            <ul className="list-disc pl-5 mb-4 space-y-2">
              <li>
                In any way that violates any applicable federal, state, local,
                or international law or regulation.
              </li>
              <li>
                To transmit, or procure the sending of, any advertising or
                promotional material, including any "junk mail," "chain letter,"
                "spam," or any other similar solicitation.
              </li>
              <li>
                To impersonate or attempt to impersonate AppliancePicks, an
                AppliancePicks employee, another user, or any other person or
                entity.
              </li>
              <li>
                To engage in any other conduct that restricts or inhibits
                anyone's use or enjoyment of the website, or which may harm
                AppliancePicks or users of the website.
              </li>
            </ul>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              6. User Contributions
            </h2>
            <p>
              The website may contain message boards, chat rooms, personal web
              pages or profiles, forums, bulletin boards, and other interactive
              features that allow users to post, submit, publish, display, or
              transmit content or materials. All User Contributions must comply
              with the Content Standards set out in these Terms.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              7. Affiliate Disclosure
            </h2>
            <p>
              AppliancePicks participates in various affiliate marketing
              programs, which means we may get paid commissions on purchases
              made through our links to retailer sites. Our recommendations are
              based on thorough research and testing, and we maintain editorial
              independence from our affiliate partners.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              8. Disclaimer of Warranties
            </h2>
            <p>
              Your use of the website, its content, and any services or items
              obtained through the website is at your own risk. The website, its
              content, and any services or items obtained through the website
              are provided on an "as is" and "as available" basis, without any
              warranties of any kind, either express or implied.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              9. Limitation of Liability
            </h2>
            <p>
              In no event will AppliancePicks, its affiliates, or their
              licensors, service providers, employees, agents, officers, or
              directors be liable for damages of any kind, under any legal
              theory, arising out of or in connection with your use, or
              inability to use, the website, any websites linked to it, any
              content on the website or such other websites.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">10. Governing Law</h2>
            <p>
              These Terms and any dispute or claim arising out of or related to
              them, their subject matter, or their formation shall be governed
              by and construed in accordance with the laws of the State of
              California, without giving effect to any choice or conflict of law
              provisions.
            </p>
            <h2 className="text-2xl font-bold mt-8 mb-4">
              11. Contact Information
            </h2>
            <p>
              Questions or comments about the website or these Terms may be
              directed to:
            </p>
            <address className="not-italic mt-2">
              AppliancePicks
              <br />
              Email: legal@appliancepicks.com
              <br />
              Address: 123 Smart Home Avenue, Tech City, CA 94043
            </address>
          </div>
        </div>
      </div>
    </div>;
}